//按需导出每个请求api接口
import request from '../request'

//通用文件上传
export const postImage = (params) => request.post('/sysFileInfo/uploadImage', params,Headers={
    "Content-Type": "multipart/form-data"
})

export const GetfileListAPI = (params) => request.post('/usercenter/sysFileInfo/uploadFileList', params)

//头像上传
export const avator = (params) => request.post('/sysFileInfo/uploadHeadImage', params)

//获取图片文件返回绑定信息?(通过绑定信息返回图片)
export const GetBinDingAPI = (params) => request.post('/usercenter/sysFileInfo/showImgStream?id=' + params)

// 删除文件信息
export const RemoveInfo = (params) => request.post('/usercenter/sysFileInfo/deleteFileInfo', params)


